package cn.kgc.spring05.interfac.impl;

import cn.kgc.spring05.interfac.Teacher;

/**
 * @Author: 课工场
 * @Version: v1.0  2023/4/29
 * @Description:
 */
public class TeacherWang implements Teacher {

    @Override
    public String teachOnline(String course) {
        System.out.println("============"+course+"正在线上授课=============");
        return course;
    }

    @Override
    public String teachOffline(String course, Integer time) {
        System.out.println("============"+course+"正在线下授课=============");
        return course+":"+time;
    }
}
